package com.geh.learn.thread.completablefuture;

import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class RunThread {

    public static void main(String[] args) throws InterruptedException {

        ExecutorService es = Executors.newFixedThreadPool(10);
        // CompletableFuture.runAsync(() -> {System.out.println(100);});
        // CompletableFuture.runAsync(() -> {System.out.println(100);}, es);


        Thread.sleep(1000L);
    }

}
